package com.yuxi.Dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.yuxi.Entity.Role;
import com.yuxi.Entity.UserPosition;
/**
 *	角色接口
 * @author hunter
 * @version 1.0
 * 2016/08/27
 */
@Repository
public interface RoleDao {
	public Role getRole(Integer id);
	
	public Role addRole(Role role);
	
	public void deleteRole(Role role);
	
	public void modifly(Role role);
	/**
	 * 获取角色
	 * @param 
	 * @return List<Role>
	 */
	public List<Role> getAllRole();
}
